<!DOCTYPE HTML>
<html>
<body>
  <div style="width:400px; height:500px; overflow:hidden; border:2px solid black">
    <div style="width:300px; height:100px; overflow:hidden; border:2px solid blue; margin-top: 50px">
      <div style="height:200px; background:purple"></div>
    </div>
    <div class="filler" style="height: 1000px"></div>
  </div>
</html>
